#include <bits/stdc++.h>
using namespace std;
int sum,a;
int main() {
    // freopen("a1.in","r",stdin);
    // freopen("a1.out","w",stdout);
    while(scanf("%d", &a)!=EOF) {
        sum += a;
    }
    cout << sum;
    // fclose(stdin); fclose(stdout);
    return 0;
}